<?php
	class Patient extends Person{
		
		private $number;
		private $averageLengthOfStay;
		private $minLengthOfStay;
		private $maxLengthOfStay;
		private $numberOfVisit;
		private $allergies;
		
		public function getNumber(){
			return $this->number;
		}
		
		public function setNumber($number){
			$this->number = $number;
		}
		
		public function getAverageLengthOfStay(){
			return  $this->averageLengthOfStay;
		}
		
		public function setAverageLengthOfStay($averageLengthOfStay){
			$this->averageLengthOfStay =  $averageLengthOfStay;
		}
		
		public function getMinLengthOfStay(){
			return $this->minLengthOfStay;
		}
		
		public function setMinLengthOfStay($minLengthOfStay){
			 $this->minLengthOfStay = $minLengthOfStay;
		}
		
		public function getMaxLengthOfStay(){
			return $this->maxLengthOfStay;
		}
		
		public function setMaxLengthOfStay($maxLengthOfStay){
			 $this->maxLengthOfStay = $maxLengthOfStay;
		}
		
		public function getNumberOfVisit(){
			return $this->numberOfVisit;
		}
		
		public function setNumberOfVisit($numberOfVisit){
			$this->numberOfVisit = $numberOfVisit;
		}
		
		public function getAllergies(){
			return $this->allergies;
		}
		
		public function setAllergies($allergies){
			$this->allergies = $allergies;
		}
	}

?>